package com.nartosoft.tubuloader;

import java.util.Arrays;
import java.util.List;

public enum Category
{
  Autos("Autos", "Autos & Vehicles"),
  Comedy("Comedy", "Comedy"),
  Education("Education", "Education"),
  Entertainment("Entertainment", "Entertainment"),
  Howto("Howto", "Howto & Style"),
  Music("Music", "Music"),
  Animals("Animals", "Pets & Animals"),
  News("News", "News & Politics"),
  Nonprofit("Nonprofit", "Nonprofits & Activism"),
  PeopleAndBlogs("People &amp; Blogs", "People & Blogs"),
  Shortmov("Shortmov", "Film & Animation"),
  Sports("Sports", "Sports"),
  Tech("Tech", "Science & Technology"),
  Travel("Travel", "Travel & Events");

  private static Category[] CATEGORIES = new Category[] {
    Animals, Autos, Comedy, Education, Entertainment, Howto, Music,
    News, Nonprofit, PeopleAndBlogs, Shortmov, Sports, Tech, Travel };
  private String value;
  private String text;

  Category(String value, String text) {
    this.value = value;
    this.text = text;
  }

  public static List<Category> getCategories() {
    return Arrays.asList(CATEGORIES);
  }

  public String toString() {
    return text;
  }

  public String getValue() {
    return value;
  }
}
